<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master"Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	SelectHopThu
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent1" runat="server">
	<span class="AdminTitle" style="color:#cc0000;">HopThu Management</span>
	(<a href="<%= Url.Action("Index", "Home") %>" class="AdminPageText">
	<%= WebConfiguration.SiteName  %>
	</a>)
	<br />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent2" runat="server">
	<script src="../../Scripts/fckeditor/fckeditor.js" type="text/javascript"></script>
	<script type="text/javascript">
		window.onload = function () {
			var objFckEditor = new FCKeditor('HopThu_NoiDung');
			objFckEditor.BasePath = '<%= ResolveUrl("~/Scripts/fckeditor/")%>';
			objFckEditor.Height = 480;
			objFckEditor.Width = 600;
			objFckEditor.ToolbarSet = 'MyTemplateWebToolbar';
			objFckEditor.ReplaceTextarea();
			<% if (Model.HopThuModel.EditModel.Edited){ %>
				alert("A new item has been updated!");
			<% } %>
		}
	</script>
	<% using (Html.BeginForm("UpdateHopThu", "Admin", FormMethod.Post, new { enctype = "multipart/form-data", onsubmit = "return ValidateHopThu();" }))
	{ %>
		<input type="hidden" name="HopThu_ID" value="<%= Model.HopThuModel.GetModel.LstObjModel[0].ID %>" />
		<input type="hidden" name="HopThu_IDNguoiGui" value="<%= Model.HopThuModel.GetModel.LstObjModel[0].IDNguoiGui %>" />
		<div style="padding-top: 40px">
			<span style="font-size:18px; font-weight:bold;">DetailOf HopThu</span>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="AdminPageText">
				<tbody>
					<tr>
						<td>
							<div align="left" style="padding-top:15px">
								<font class="normal8">TieuDe: </font>
							</div>
						</td>
						<td height="20">
							<div align="left" style="padding-top:15px">
								<%= Html.TextBox("HopThu_TieuDe", Model.HopThuModel.GetModel.LstObjModel[0].TieuDe)%>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div align="left" style="padding-top:15px">
								<font class="normal8">NoiDung: </font>
							</div>
						</td>
						<td height="20">
							<div align="left" style="padding-top:15px">
								<%= Html.TextArea("HopThu_NoiDung", Model.HopThuModel.GetModel.LstObjModel[0].NoiDung)%>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div align="left" style="padding-top:15px">
								<font class="normal8">NgayNhan: </font>
							</div>
						</td>
						<td height="20">
							<div align="left" style="padding-top:15px">
								<%= Html.TextBox("HopThu_NgayNhan", Model.HopThuModel.GetModel.LstObjModel[0].NgayNhan)%>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div align="left" style="padding-top:15px">
								<font class="normal8">NoiDungRutGon: </font>
							</div>
						</td>
						<td height="20">
							<div align="left" style="padding-top:15px">
								<%= Html.TextBox("HopThu_NoiDungRutGon", Model.HopThuModel.GetModel.LstObjModel[0].NoiDungRutGon)%>
							</div>
						</td>
					</tr>
					<tr>
						<td height="20" style="width: 130px">
						</td>
						<td height="20">
							<div align="left">
								<br/>
								<input type="submit" value="Update" />
								<p>
								</p>
							</div>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	<% } %>
</asp:Content>
